Crate butane_core[][src]

Re-exports

pub use query::Query;
pub use sqlval::*;

Modules

codegen
custom

For supporting additional types with the Pg backend (or other future backends).

db

Types, traits, and methods for interacting with a database.

fkey
many
migrations

For working with migrations. If using the butane CLI tool, it is not necessary to use these types directly.

query

Types to support database queries. Most users will use the query!, filter!, and find! macros instead of using this module directly.

sqlval

Macros

connection_method_wrapper
debug
make_compile_error
warn

Structs

ObjectState

Used internally by butane to track state about the object.

Enums

Error

Butane errors.

SqlType

Enumeration of the types a database value may take.

Traits

DataObject

An object in the database.

DataResult

A type which may be the result of a database query.

ModelTyped

Type Definitions

Result